package com.ly.blog2backup.constants;

import java.io.File;

/**
 * 常量类
 * @author Louis
 * @date Jan 15, 2019
 */
public interface FileConstants {

	/**
	 * 返回URl设定
	 */
	public static final String HEADER = "http://";
	public static final String IP = "127.0.0.1";
	public static final String PORT = "8800";
	public static final String URL = "/file/readImage/";



	/** 文件根路径（备份和文件） */
	public static final String FILE_SOURCE_FOLDER = System.getProperty("user.home")+ File.separator ;
	/** 文件目录名称 */
	public static final String FILE_FOLDER_NAME = "_blogFor2020_file";
	/** 文件集合目录 */
	public static final String File_FOLDER = FILE_SOURCE_FOLDER + FILE_FOLDER_NAME + File.separator;
	/**
	 * 文章图片文件夹
	 */
	public static final String ARTICLE_FOLDER_NAME  = "article";
	public static final String ARTICLE_FOLDER = FILE_SOURCE_FOLDER + FILE_FOLDER_NAME + File.separator + ARTICLE_FOLDER_NAME+ File.separator;


}
